@echo off  

setlocal enabledelayedexpansion

cd /d %~dp0


set PSCPEXE=pscp.exe
set USERNAME=%1
set PASSWORD=%2
set HOSTLOCAL=%3
set LCOALPATH=%4
set PATHNAME=%5
set FILENAME=%6


%PSCPEXE% -pw %PASSWORD% %LCOALPATH%\%FILENAME% %USERNAME%@%HOSTLOCAL%:%PATHNAME%/%FILENAME% 






